﻿using Newtonsoft.Json;
using SqlSugar;

namespace NP.BPMReportPlatform.Entities.BPM_Platform
{
    public class OrgLeader
    {
        /// <summary>
        /// 组织编码，唯一id
        /// </summary>
        [SugarColumn(IsPrimaryKey = true)]
        public string OrgCode { get; set; }

        /// <summary>
        /// 随机id
        /// </summary>
        public string Kid { get; set; }

        /// <summary>
        /// 审批层级
        /// </summary>
        public int? ApproveLevel { get; set; }

        /// <summary>
        /// 自然组织层级
        /// </summary>
        public int? ApproveLevel2 { get; set; }

        /// <summary>
        /// 是否主职（Y主职；N兼职）
        /// </summary>
        public string IsMajor { get; set; }

        /// <summary>
        /// 第0层组织编码
        /// </summary>
        public string Org0_Code { get; set; }

        /// <summary>
        /// 第0层组织名称
        /// </summary>
        public string Org0_Name { get; set; }

        public string Org1_Code { get; set; }

        public string Org1_Name { get; set; }

        public string Org2_Code { get; set; }

        public string Org2_Name { get; set; }

        public string Org3_Code { get; set; }

        public string Org3_Name { get; set; }

        public string Org4_Code { get; set; }

        public string Org4_Name { get; set; }

        public string Org5_Code { get; set; }

        public string Org5_Name { get; set; }

        public string Org6_Code { get; set; }

        public string Org6_Name { get; set; }

        public string Org7_Code { get; set; }

        public string Org7_Name { get; set; }

        public string Org8_Code { get; set; }

        public string Org8_Name { get; set; }

        public string Org9_Code { get; set; }

        public string Org9_Name { get; set; }

        /// <summary>
        /// 职位编码
        /// </summary>
        public string PostCode { get; set; }

        /// <summary>
        /// 职位名称
        /// </summary>
        public string PostName { get; set; }

        /// <summary>
        /// 员工号
        /// </summary>
        public string EmployeeId { get; set; }

        /// <summary>
        /// 员工名称
        /// </summary>
        public string EmployeeName { get; set; }

        /// <summary>
        /// 删除标识，true为删除，false为未删除
        /// </summary>
        public bool IsDelete { get; set; }

    }
}
